package com.commute.data;

import java.util.LinkedList;

public class Trip {
	private int tripId;
	private int routeId;
	private Route route;
	private LinkedList<StopTime> stopTimes;
	
	public Trip(int tripId, int routeId, Route route) {
		this.tripId = tripId;
		this.routeId = routeId;
		this.route = route;
		this.stopTimes = new LinkedList<StopTime>();
	}
	
	public int tripId(){
		return tripId;
	}

	public int routeId(){
		return routeId;
	}
	
	public Route route(){
		return route;
	}
	
	public LinkedList<StopTime> stopTimes(){
		return stopTimes;
	}
}
